package com.linkhub.oms.data.sync.enums;

import com.linkhub.oms.common.enums.IEnumConvert;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @Description: YunTuOrderStatusEnum
 * @Author: echo
 * @Date: 2024/3/30 20:57
 * @Version: 1.0
 */
@Getter
@AllArgsConstructor
public enum YunTuOrderStatusEnum implements IEnumConvert<Integer> {

    DRAFT(0, "草稿"),
    SUBMITTED(3, "已提交"),
    RECEIVED(4, "已收货"),
    SHIPPED(5, "已发货"),
    DELETED(6, "已删除"),
    RETURNED(7, "已退回"),
    SIGNED(11, "已签收"),
    COMPENSATED(10, "已理赔");

    private final Integer status;
    private final String desc;

    @Override
    public Integer getCode() {
        return this.getStatus();
    }
}

